package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 季刊类别对象 sys_quarterly_category
 *
 * @author ruoyi
 * @date 2022-03-29
 */
public class SysQuarterlyCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 季刊类别id */
    private Long categoryId;

    /** 季刊头id */
    @Excel(name = "季刊头id")
    private Long headerId;

    /** 类别名称 */
    @Excel(name = "类别名称")
    private String categoryName;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setCategoryId(Long categoryId)
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId()
    {
        return categoryId;
    }
    public void setHeaderId(Long headerId)
    {
        this.headerId = headerId;
    }

    public Long getHeaderId()
    {
        return headerId;
    }
    public void setCategoryName(String categoryName)
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName()
    {
        return categoryName;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("categoryId", getCategoryId())
                .append("headerId", getHeaderId())
                .append("categoryName", getCategoryName())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
